<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include::header"></head>
<link  th:href="@{/js/plugins/layui/css/layui.css}" rel="stylesheet">
<script src="/js/plugins/layui/layui.js"></script>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                        <form class="form-horizontal m-t" id="signupForm">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">包名称：</label>
                                <div class="col-sm-8">
                                    <input id="position" name="position" th:value="${obj.position}" class="form-control valid" type="text" aria-required="true" aria-invalid="false" >
                                    <input id="id" name="id" th:value="${obj.id}" type="hidden" >
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">去除前缀：</label>
                                <div class="col-sm-8">
                                    <input id="prefix" name="prefix" th:value="${obj.prefix}" class="form-control error" type="text" aria-required="true" aria-invalid="true" >
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">作者：</label>
                                <div class="col-sm-8">
                                    <input id="author" name="author" th:value="${obj.author}" class="form-control error" type="text" aria-required="true" aria-invalid="true" >
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">是否覆盖现有文件：</label>
                                <div class="col-sm-8">
                                    <label class="radio-inline">
					                <input type="radio" th:checked="${obj.fileOverride==0}? 'true' : 'false'" checked="checked" value="0"  name="fileOverride">不覆盖</label>
					                <label class="radio-inline">
					                <input type="radio" th:checked="${obj.fileOverride==1}? 'true' : 'false'"  value="1"  name="fileOverride">覆盖</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">是否打开生成目录：</label>
                                <div class="col-sm-8">
                                    <label class="radio-inline">
					                <input type="radio" checked="checked" th:checked="${obj.open==0}? 'true' : 'false'" value="0"  name="open">打开</label>
					                <label class="radio-inline">
					                <input type="radio" value="1" th:checked="${obj.open==1}? 'true' : 'false'"   name="open">不打开</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">是否生成basemap：</label>
                                <div class="col-sm-8">
                                    <label class="radio-inline">
					                <input type="radio" checked="checked" th:checked="${obj.resultmap==0}? 'true' : 'false'"  value="0"  name="resultmap">是</label>
					                <label class="radio-inline">
					                <input type="radio" value="1" th:checked="${obj.resultmap==1}? 'true' : 'false'"  name="resultmap">否</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">是否生成基本查询：</label>
                                <div class="col-sm-8">
                                    <label class="radio-inline">
					                <input type="radio" checked="checked" th:checked="${obj.columnList==0}? 'true' : 'false'" value="0"  name="columnList">是</label>
					                <label class="radio-inline">
					                <input type="radio" value="1"  th:checked="${obj.columnList==1}? 'true' : 'false'"   name="columnList">否</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">是否开启二级缓存：</label>
                                <div class="col-sm-8">
                                    <label class="radio-inline">
					                <input type="radio" checked="checked" th:checked="${obj.enableCache==0}? 'true' : 'false'"  value="0"  name="enableCache">是</label>
					                <label class="radio-inline">
					                <input type="radio" value="1" th:checked="${obj.enableCache==1}? 'true' : 'false'"    name="enableCache">否</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">代码生成盘：</label>
                                <div class="col-sm-8">
                                    <label class="radio-inline">
					                <input type="radio" value="C" th:checked="${obj.location=='C' }? 'true' : 'false'"  name="location">C</label>
					                <label class="radio-inline">
					                <input type="radio" checked="checked" th:checked="${obj.location=='D' }? 'true' : 'false'"  value="D"  name="location">D</label>
					                <label class="radio-inline">
					                <input type="radio" value="E" th:checked="${obj.location=='E' }? 'true' : 'false'"  name="location">E</label>
					                <label class="radio-inline">
					                <input type="radio" value="F" th:checked="${obj.location=='F' }? 'true' : 'false'"  name="location">F</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-8 col-sm-offset-3">
                                    <button class="btn btn-primary" type="submit">提交</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/business/system/main/online/edit.js"></script>
</body>

</html>
